package com.newjiabo.ski.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * {套餐-雪地关联类}
 *
 * @author CaoMengHui.
 * @version 1.0
 * @since 2023/9/18 15:52
 */
@ApiModel(value = "套餐-雪地关联类")
public class SkiMealSnowRel {
    @ApiModelProperty(value = "雪场id")
    private String snowFieldId;

    @ApiModelProperty(value = "套餐id")
    private String setMealId;


    @ApiModelProperty(value = "创建人")
    private String createBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;


    public SkiMealSnowRel() {
    }

    public SkiMealSnowRel(String snowFieldId, String setMealId) {
        this.snowFieldId = snowFieldId;
        this.setMealId = setMealId;
    }

    public String getSnowFieldId() {
        return snowFieldId;
    }

    public void setSnowFieldId(String snowFieldId) {
        this.snowFieldId = snowFieldId;
    }

    public String getSetMealId() {
        return setMealId;
    }

    public void setSetMealId(String setMealId) {
        this.setMealId = setMealId;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
